package com.ruoyi.labdata.domain;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 流程定义对象 lab_flow_defination
 * 
 * @author winner pan
 * @date 2022-03-06
 */
public class LabFlowDefination extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流程ID */
    private Long workflowId;

    /** 流程名称 */
    @Excel(name = "流程名称")
    private String workflowName;

    /** 适用范围 */
    @Excel(name = "适用范围")
    private String applyScope;
    
    private String applyScopeName;
    
    private List<LabFlowNode> nodeList;
    
    public List<LabFlowNode> getNodeList() {
		return nodeList;
	}

	public void setNodeList(List<LabFlowNode> nodeList) {
		this.nodeList = nodeList;
	}

	public String getApplyScopeName() {
		return applyScopeName;
	}

	public void setApplyScopeName(String applyScopeName) {
		this.applyScopeName = applyScopeName;
	}

	/** 状态 */
    @Excel(name = "状态")
    private String statusOpt;

    private String businessType;
    
    private String businessTypeName;
    

	public String getBusinessTypeName() {
		return businessTypeName;
	}

	public void setBusinessTypeName(String businessTypeName) {
		this.businessTypeName = businessTypeName;
	}

	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	public void setWorkflowId(Long workflowId) 
    {
        this.workflowId = workflowId;
    }

    public Long getWorkflowId() 
    {
        return workflowId;
    }
    public void setWorkflowName(String workflowName) 
    {
        this.workflowName = workflowName;
    }

    public String getWorkflowName() 
    {
        return workflowName;
    }
    public void setApplyScope(String applyScope) 
    {
        this.applyScope = applyScope;
    }

    public String getApplyScope() 
    {
        return applyScope;
    }
    public void setStatusOpt(String statusOpt) 
    {
        this.statusOpt = statusOpt;
    }

    public String getStatusOpt() 
    {
        return statusOpt;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workflowId", getWorkflowId())
            .append("workflowName", getWorkflowName())
            .append("applyScope", getApplyScope())
            .append("statusOpt", getStatusOpt())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
